<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.9.5"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>VectSharp: VectSharp.SimpleFontLibrary Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="Doxy.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr id="projectrow">
  <td id="projectlogo"><img alt="Logo" src="icon.svg"/></td>
  <td id="projectalign">
   <div id="projectname">VectSharp<span id="projectnumber">&#160;2.6.1</span>
   </div>
   <div id="projectbrief">A light library for C# vector graphics</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.5 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search/",'.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */
</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(document).ready(function(){initNavTree('class_vect_sharp_1_1_simple_font_library.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<div id="MSearchResults">
<div class="SRPage">
<div id="SRIndex">
<div id="SRResults"></div>
<div class="SRStatus" id="Loading">Loading...</div>
<div class="SRStatus" id="Searching">Searching...</div>
<div class="SRStatus" id="NoMatches">No Matches</div>
</div>
</div>
</div>
</div>

<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="class_vect_sharp_1_1_simple_font_library-members.html">List of all members</a>  </div>
  <div class="headertitle"><div class="title">VectSharp.SimpleFontLibrary Class Reference</div></div>
</div><!--header-->
<div class="contents">

<p>A font library that can be used to cache and resolve font family names.   
 <a href="class_vect_sharp_1_1_simple_font_library.html#details">More...</a></p>
<div class="dynheader">
Inheritance diagram for VectSharp.SimpleFontLibrary:</div>
<div class="dyncontent">
<div class="center"><img src="class_vect_sharp_1_1_simple_font_library__inherit__graph.png" border="0" usemap="#a_vect_sharp_8_simple_font_library_inherit__map" alt="Inheritance graph"/></div>
<map name="a_vect_sharp_8_simple_font_library_inherit__map" id="a_vect_sharp_8_simple_font_library_inherit__map">
<area shape="rect" title="A font library that can be used to cache and resolve font family names." alt="" coords="5,152,197,177"/>
<area shape="rect" href="class_vect_sharp_1_1_font_library.html" title="Abstract class with a default implementation of font family fallbacks." alt="" coords="58,79,145,104"/>
<area shape="rect" href="interface_vect_sharp_1_1_i_font_library.html" title="Represents a font library with methods to create FontFamily objects from a string or from FontFamily...." alt="" coords="56,5,147,31"/>
</map>
<center><span class="legend">[<a target="top" href="graph_legend.html">legend</a>]</span></center></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-methods" name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:ad559c81182ba7f95174c528d7dfa2a8f"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_vect_sharp_1_1_simple_font_library.html#ad559c81182ba7f95174c528d7dfa2a8f">SimpleFontLibrary</a> (<a class="el" href="interface_vect_sharp_1_1_i_font_library.html">IFontLibrary</a> standardFontLibrary)</td></tr>
<tr class="memdesc:ad559c81182ba7f95174c528d7dfa2a8f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Create a new <a class="el" href="class_vect_sharp_1_1_simple_font_library.html" title="A font library that can be used to cache and resolve font family names.">SimpleFontLibrary</a> instance.   <a href="class_vect_sharp_1_1_simple_font_library.html#ad559c81182ba7f95174c528d7dfa2a8f">More...</a><br /></td></tr>
<tr class="separator:ad559c81182ba7f95174c528d7dfa2a8f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a649bf46d282fa6113f5c5929ed70ad2e"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_vect_sharp_1_1_simple_font_library.html#a649bf46d282fa6113f5c5929ed70ad2e">SimpleFontLibrary</a> ()</td></tr>
<tr class="memdesc:a649bf46d282fa6113f5c5929ed70ad2e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Create a new <a class="el" href="class_vect_sharp_1_1_simple_font_library.html" title="A font library that can be used to cache and resolve font family names.">SimpleFontLibrary</a> instance, using the default font library to resolve the standard font families.   <a href="class_vect_sharp_1_1_simple_font_library.html#a649bf46d282fa6113f5c5929ed70ad2e">More...</a><br /></td></tr>
<tr class="separator:a649bf46d282fa6113f5c5929ed70ad2e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7bb553fad44ca9eaeb12e796917fdf6c"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_vect_sharp_1_1_simple_font_library.html#a7bb553fad44ca9eaeb12e796917fdf6c">SimpleFontLibrary</a> (<a class="el" href="class_vect_sharp_1_1_font_family.html">FontFamily</a> timesRoman, <a class="el" href="class_vect_sharp_1_1_font_family.html">FontFamily</a> timesBold, <a class="el" href="class_vect_sharp_1_1_font_family.html">FontFamily</a> timesItalic, <a class="el" href="class_vect_sharp_1_1_font_family.html">FontFamily</a> timesBoldItalic, <a class="el" href="class_vect_sharp_1_1_font_family.html">FontFamily</a> helvetica, <a class="el" href="class_vect_sharp_1_1_font_family.html">FontFamily</a> helveticaBold, <a class="el" href="class_vect_sharp_1_1_font_family.html">FontFamily</a> helveticaOblique, <a class="el" href="class_vect_sharp_1_1_font_family.html">FontFamily</a> helveticaBoldOblique, <a class="el" href="class_vect_sharp_1_1_font_family.html">FontFamily</a> courier, <a class="el" href="class_vect_sharp_1_1_font_family.html">FontFamily</a> courierBold, <a class="el" href="class_vect_sharp_1_1_font_family.html">FontFamily</a> courierOblique, <a class="el" href="class_vect_sharp_1_1_font_family.html">FontFamily</a> courierBoldOblique, <a class="el" href="class_vect_sharp_1_1_font_family.html">FontFamily</a> symbol, <a class="el" href="class_vect_sharp_1_1_font_family.html">FontFamily</a> zapfdingbats)</td></tr>
<tr class="memdesc:a7bb553fad44ca9eaeb12e796917fdf6c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Create a new <a class="el" href="class_vect_sharp_1_1_simple_font_library.html" title="A font library that can be used to cache and resolve font family names.">SimpleFontLibrary</a> instance, with the specified replacements for the standard font families.   <a href="class_vect_sharp_1_1_simple_font_library.html#a7bb553fad44ca9eaeb12e796917fdf6c">More...</a><br /></td></tr>
<tr class="separator:a7bb553fad44ca9eaeb12e796917fdf6c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7bc0781e7a5a54478c8280b0dcc6b2b4"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_vect_sharp_1_1_simple_font_library.html#a7bc0781e7a5a54478c8280b0dcc6b2b4">SimpleFontLibrary</a> (string timesRoman, string timesBold, string timesItalic, string timesBoldItalic, string helvetica, string helveticaBold, string helveticaOblique, string helveticaBoldOblique, string courier, string courierBold, string courierOblique, string courierBoldOblique, string symbol, string zapfdingbats)</td></tr>
<tr class="memdesc:a7bc0781e7a5a54478c8280b0dcc6b2b4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Create a new <a class="el" href="class_vect_sharp_1_1_simple_font_library.html" title="A font library that can be used to cache and resolve font family names.">SimpleFontLibrary</a> instance, with the specified replacements for the standard font families.   <a href="class_vect_sharp_1_1_simple_font_library.html#a7bc0781e7a5a54478c8280b0dcc6b2b4">More...</a><br /></td></tr>
<tr class="separator:a7bc0781e7a5a54478c8280b0dcc6b2b4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6e196f1b36ce7c6f9bb15b0aa8b781b9"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_vect_sharp_1_1_simple_font_library.html#a6e196f1b36ce7c6f9bb15b0aa8b781b9">Add</a> (string fontFamilyName, <a class="el" href="class_vect_sharp_1_1_font_family.html">FontFamily</a> fontFamily)</td></tr>
<tr class="memdesc:a6e196f1b36ce7c6f9bb15b0aa8b781b9"><td class="mdescLeft">&#160;</td><td class="mdescRight">Add the specified font family to the library with the specified name.   <a href="class_vect_sharp_1_1_simple_font_library.html#a6e196f1b36ce7c6f9bb15b0aa8b781b9">More...</a><br /></td></tr>
<tr class="separator:a6e196f1b36ce7c6f9bb15b0aa8b781b9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5d39bf40b40d33033821008010ecd821"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_vect_sharp_1_1_simple_font_library.html#a5d39bf40b40d33033821008010ecd821">Add</a> (<a class="el" href="class_vect_sharp_1_1_font_family.html">FontFamily</a> fontFamily)</td></tr>
<tr class="memdesc:a5d39bf40b40d33033821008010ecd821"><td class="mdescLeft">&#160;</td><td class="mdescRight">Add the specified font family to the library.   <a href="class_vect_sharp_1_1_simple_font_library.html#a5d39bf40b40d33033821008010ecd821">More...</a><br /></td></tr>
<tr class="separator:a5d39bf40b40d33033821008010ecd821"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abcd94dd11abd1c8ec3713da426a60bd9"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_vect_sharp_1_1_simple_font_library.html#abcd94dd11abd1c8ec3713da426a60bd9">Add</a> (string fileName)</td></tr>
<tr class="memdesc:abcd94dd11abd1c8ec3713da426a60bd9"><td class="mdescLeft">&#160;</td><td class="mdescRight">Add the font family contained in the specified True Type <a class="el" href="class_vect_sharp_1_1_font.html" title="Represents a typeface with a specific size.">Font</a> file to the library.   <a href="class_vect_sharp_1_1_simple_font_library.html#abcd94dd11abd1c8ec3713da426a60bd9">More...</a><br /></td></tr>
<tr class="separator:abcd94dd11abd1c8ec3713da426a60bd9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aeb569eb2791e612a4fa7f259ad9597a5"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_vect_sharp_1_1_simple_font_library.html#aeb569eb2791e612a4fa7f259ad9597a5">Add</a> (string fontFamily, string fileName)</td></tr>
<tr class="memdesc:aeb569eb2791e612a4fa7f259ad9597a5"><td class="mdescLeft">&#160;</td><td class="mdescRight">Add the font family contained in the specified True Type <a class="el" href="class_vect_sharp_1_1_font.html" title="Represents a typeface with a specific size.">Font</a> file to the library, with the specified name. The font family is not loaded until it is requested for the first time.   <a href="class_vect_sharp_1_1_simple_font_library.html#aeb569eb2791e612a4fa7f259ad9597a5">More...</a><br /></td></tr>
<tr class="separator:aeb569eb2791e612a4fa7f259ad9597a5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abbb23adc127eba43dea02811e97aa148"><td class="memItemLeft" align="right" valign="top">override <a class="el" href="class_vect_sharp_1_1_font_family.html">FontFamily</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_vect_sharp_1_1_simple_font_library.html#abbb23adc127eba43dea02811e97aa148">ResolveFontFamily</a> (<a class="el" href="class_vect_sharp_1_1_font_family.html#a6cdec4eb0a660064bc416e81f69d3780">FontFamily.StandardFontFamilies</a> standardFontFamily)</td></tr>
<tr class="memdesc:abbb23adc127eba43dea02811e97aa148"><td class="mdescLeft">&#160;</td><td class="mdescRight">Create a new font family from the specified standard font family name. <dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">standardFontFamily</td><td>The standard name of the font family.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>A <a class="el" href="class_vect_sharp_1_1_font_family.html" title="Represents a typeface.">FontFamily</a> object corresponding to the specified font family.</dd></dl>
  <a href="class_vect_sharp_1_1_simple_font_library.html#abbb23adc127eba43dea02811e97aa148">More...</a><br /></td></tr>
<tr class="separator:abbb23adc127eba43dea02811e97aa148"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a63ef6efa35f69a22ec60236f8515ade9"><td class="memItemLeft" align="right" valign="top">override <a class="el" href="class_vect_sharp_1_1_font_family.html">FontFamily</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_vect_sharp_1_1_simple_font_library.html#a63ef6efa35f69a22ec60236f8515ade9">ResolveFontFamily</a> (string fontFamily)</td></tr>
<tr class="memdesc:a63ef6efa35f69a22ec60236f8515ade9"><td class="mdescLeft">&#160;</td><td class="mdescRight">Create a new font family from the specified family name or true type file. If the family name or the true type file are not valid, an exception might be raised. <dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">fontFamily</td><td>The name of the font family to create, or the path to a TTF file.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>If the font family name or the true type file is valid, a <a class="el" href="class_vect_sharp_1_1_font_family.html" title="Represents a typeface.">FontFamily</a> object corresponding to the specified font family.</dd></dl>
  <a href="class_vect_sharp_1_1_simple_font_library.html#a63ef6efa35f69a22ec60236f8515ade9">More...</a><br /></td></tr>
<tr class="separator:a63ef6efa35f69a22ec60236f8515ade9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_class_vect_sharp_1_1_font_library"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_class_vect_sharp_1_1_font_library')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="class_vect_sharp_1_1_font_library.html">VectSharp.FontLibrary</a></td></tr>
<tr class="memitem:aabf4f02d4ac7b08ef2c4c957100d09a1 inherit pub_methods_class_vect_sharp_1_1_font_library"><td class="memItemLeft" align="right" valign="top">abstract <a class="el" href="class_vect_sharp_1_1_font_family.html">FontFamily</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_vect_sharp_1_1_font_library.html#aabf4f02d4ac7b08ef2c4c957100d09a1">ResolveFontFamily</a> (string fontFamily)</td></tr>
<tr class="memdesc:aabf4f02d4ac7b08ef2c4c957100d09a1 inherit pub_methods_class_vect_sharp_1_1_font_library"><td class="mdescLeft">&#160;</td><td class="mdescRight">Create a new font family from the specified family name or true type file. If the family name or the true type file are not valid, an exception might be raised. <dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">fontFamily</td><td>The name of the font family to create, or the path to a TTF file.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>If the font family name or the true type file is valid, a <a class="el" href="class_vect_sharp_1_1_font_family.html" title="Represents a typeface.">FontFamily</a> object corresponding to the specified font family.</dd></dl>
  <a href="class_vect_sharp_1_1_font_library.html#aabf4f02d4ac7b08ef2c4c957100d09a1">More...</a><br /></td></tr>
<tr class="separator:aabf4f02d4ac7b08ef2c4c957100d09a1 inherit pub_methods_class_vect_sharp_1_1_font_library"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa2b3527549a24f1ed1564b8516a93213 inherit pub_methods_class_vect_sharp_1_1_font_library"><td class="memItemLeft" align="right" valign="top">abstract <a class="el" href="class_vect_sharp_1_1_font_family.html">FontFamily</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_vect_sharp_1_1_font_library.html#aa2b3527549a24f1ed1564b8516a93213">ResolveFontFamily</a> (<a class="el" href="class_vect_sharp_1_1_font_family.html#a6cdec4eb0a660064bc416e81f69d3780">FontFamily.StandardFontFamilies</a> standardFontFamily)</td></tr>
<tr class="memdesc:aa2b3527549a24f1ed1564b8516a93213 inherit pub_methods_class_vect_sharp_1_1_font_library"><td class="mdescLeft">&#160;</td><td class="mdescRight">Create a new font family from the specified standard font family name. <dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">standardFontFamily</td><td>The standard name of the font family.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>A <a class="el" href="class_vect_sharp_1_1_font_family.html" title="Represents a typeface.">FontFamily</a> object corresponding to the specified font family.</dd></dl>
  <a href="class_vect_sharp_1_1_font_library.html#aa2b3527549a24f1ed1564b8516a93213">More...</a><br /></td></tr>
<tr class="separator:aa2b3527549a24f1ed1564b8516a93213 inherit pub_methods_class_vect_sharp_1_1_font_library"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae281a6cc27fa36dc1ba639408837b2a2 inherit pub_methods_class_vect_sharp_1_1_font_library"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="class_vect_sharp_1_1_font_family.html">FontFamily</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_vect_sharp_1_1_font_library.html#ae281a6cc27fa36dc1ba639408837b2a2">ResolveFontFamily</a> (string fontFamily, params string[] fallback)</td></tr>
<tr class="memdesc:ae281a6cc27fa36dc1ba639408837b2a2 inherit pub_methods_class_vect_sharp_1_1_font_library"><td class="mdescLeft">&#160;</td><td class="mdescRight">Create a new font family from the specified family name or true type file. If the family name or the true type file are not valid, try to instantiate the font family using the <em>fallback</em> . If none of the fallback family names or true type files are valid, an exception might be raised. <dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">fontFamily</td><td>The name of the font family to create, or the path to a TTF file.</td></tr>
    <tr><td class="paramname">fallback</td><td>Names of additional font families or TTF files, which will be tried if the first <em>fontFamily</em>  is not valid.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>A <a class="el" href="class_vect_sharp_1_1_font_family.html" title="Represents a typeface.">FontFamily</a> object corresponding to the first of the specified font families that is valid.</dd></dl>
  <a href="class_vect_sharp_1_1_font_library.html#ae281a6cc27fa36dc1ba639408837b2a2">More...</a><br /></td></tr>
<tr class="separator:ae281a6cc27fa36dc1ba639408837b2a2 inherit pub_methods_class_vect_sharp_1_1_font_library"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a230216ba67571ee0d48e346a8e3ae69f inherit pub_methods_class_vect_sharp_1_1_font_library"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="class_vect_sharp_1_1_font_family.html">FontFamily</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_vect_sharp_1_1_font_library.html#a230216ba67571ee0d48e346a8e3ae69f">ResolveFontFamily</a> (string fontFamily, <a class="el" href="class_vect_sharp_1_1_font_family.html#a6cdec4eb0a660064bc416e81f69d3780">FontFamily.StandardFontFamilies</a> finalFallback, params string[] fallback)</td></tr>
<tr class="memdesc:a230216ba67571ee0d48e346a8e3ae69f inherit pub_methods_class_vect_sharp_1_1_font_library"><td class="mdescLeft">&#160;</td><td class="mdescRight">Create a new font family from the specified family name or true type file. If the family name or the true type file are not valid, try to instantiate the font family using the <em>fallback</em> . If none of the fallback family names or true type files are valid, instantiate a standard font family using the <em>finalFallback</em> . <dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">fontFamily</td><td>The name of the font family to create, or the path to a TTF file.</td></tr>
    <tr><td class="paramname">fallback</td><td>Names of additional font families or TTF files, which will be tried if the first <em>fontFamily</em>  is not valid.</td></tr>
    <tr><td class="paramname">finalFallback</td><td>The standard name of the font family that will be used if none of the fallback families are valid.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>A <a class="el" href="class_vect_sharp_1_1_font_family.html" title="Represents a typeface.">FontFamily</a> object corresponding to the first of the specified font families that is valid.</dd></dl>
  <a href="class_vect_sharp_1_1_font_library.html#a230216ba67571ee0d48e346a8e3ae69f">More...</a><br /></td></tr>
<tr class="separator:a230216ba67571ee0d48e346a8e3ae69f inherit pub_methods_class_vect_sharp_1_1_font_library"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a38d3cdb436fbebb8f52827548824fd22"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_vect_sharp_1_1_font_family.html">FontFamily</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="interface_vect_sharp_1_1_i_font_library.html#a38d3cdb436fbebb8f52827548824fd22">ResolveFontFamily</a> (string fontFamily)</td></tr>
<tr class="memdesc:a38d3cdb436fbebb8f52827548824fd22"><td class="mdescLeft">&#160;</td><td class="mdescRight">Create a new font family from the specified family name or true type file. If the family name or the true type file are not valid, an exception might be raised.   <a href="interface_vect_sharp_1_1_i_font_library.html#a38d3cdb436fbebb8f52827548824fd22">More...</a><br /></td></tr>
<tr class="separator:a38d3cdb436fbebb8f52827548824fd22"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a426840994017cba81d0d04c9fd180c97"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_vect_sharp_1_1_font_family.html">FontFamily</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="interface_vect_sharp_1_1_i_font_library.html#a426840994017cba81d0d04c9fd180c97">ResolveFontFamily</a> (string fontFamily, params string[] fallback)</td></tr>
<tr class="memdesc:a426840994017cba81d0d04c9fd180c97"><td class="mdescLeft">&#160;</td><td class="mdescRight">Create a new font family from the specified family name or true type file. If the family name or the true type file are not valid, try to instantiate the font family using the <em>fallback</em> . If none of the fallback family names or true type files are valid, an exception might be raised.   <a href="interface_vect_sharp_1_1_i_font_library.html#a426840994017cba81d0d04c9fd180c97">More...</a><br /></td></tr>
<tr class="separator:a426840994017cba81d0d04c9fd180c97"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa5edae1ac42260badf5963b2e8723278"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_vect_sharp_1_1_font_family.html">FontFamily</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="interface_vect_sharp_1_1_i_font_library.html#aa5edae1ac42260badf5963b2e8723278">ResolveFontFamily</a> (<a class="el" href="class_vect_sharp_1_1_font_family.html#a6cdec4eb0a660064bc416e81f69d3780">FontFamily.StandardFontFamilies</a> standardFontFamily)</td></tr>
<tr class="memdesc:aa5edae1ac42260badf5963b2e8723278"><td class="mdescLeft">&#160;</td><td class="mdescRight">Create a new font family from the specified standard font family name.   <a href="interface_vect_sharp_1_1_i_font_library.html#aa5edae1ac42260badf5963b2e8723278">More...</a><br /></td></tr>
<tr class="separator:aa5edae1ac42260badf5963b2e8723278"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8d3c5995d296afff969b34f22f6aee7a"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_vect_sharp_1_1_font_family.html">FontFamily</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="interface_vect_sharp_1_1_i_font_library.html#a8d3c5995d296afff969b34f22f6aee7a">ResolveFontFamily</a> (string fontFamily, <a class="el" href="class_vect_sharp_1_1_font_family.html#a6cdec4eb0a660064bc416e81f69d3780">FontFamily.StandardFontFamilies</a> finalFallback, params string[] fallback)</td></tr>
<tr class="memdesc:a8d3c5995d296afff969b34f22f6aee7a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Create a new font family from the specified family name or true type file. If the family name or the true type file are not valid, try to instantiate the font family using the <em>fallback</em> . If none of the fallback family names or true type files are valid, instantiate a standard font family using the <em>finalFallback</em> .   <a href="interface_vect_sharp_1_1_i_font_library.html#a8d3c5995d296afff969b34f22f6aee7a">More...</a><br /></td></tr>
<tr class="separator:a8d3c5995d296afff969b34f22f6aee7a"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p >A font library that can be used to cache and resolve font family names.  </p>

<p class="definition">Definition at line <a class="el" href="_font_library_8cs_source.html#l00185">185</a> of file <a class="el" href="_font_library_8cs_source.html">FontLibrary.cs</a>.</p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="ad559c81182ba7f95174c528d7dfa2a8f" name="ad559c81182ba7f95174c528d7dfa2a8f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad559c81182ba7f95174c528d7dfa2a8f">&#9670;&#160;</a></span>SimpleFontLibrary() <span class="overload">[1/4]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">VectSharp.SimpleFontLibrary.SimpleFontLibrary </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="interface_vect_sharp_1_1_i_font_library.html">IFontLibrary</a>&#160;</td>
          <td class="paramname"><em>standardFontLibrary</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Create a new <a class="el" href="class_vect_sharp_1_1_simple_font_library.html" title="A font library that can be used to cache and resolve font family names.">SimpleFontLibrary</a> instance.  </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">standardFontLibrary</td><td>An existing font library that will be used to resolve the standard font families.</td></tr>
  </table>
  </dd>
</dl>

<p class="definition">Definition at line <a class="el" href="_font_library_8cs_source.html#l00197">197</a> of file <a class="el" href="_font_library_8cs_source.html">FontLibrary.cs</a>.</p>

</div>
</div>
<a id="a649bf46d282fa6113f5c5929ed70ad2e" name="a649bf46d282fa6113f5c5929ed70ad2e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a649bf46d282fa6113f5c5929ed70ad2e">&#9670;&#160;</a></span>SimpleFontLibrary() <span class="overload">[2/4]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">VectSharp.SimpleFontLibrary.SimpleFontLibrary </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Create a new <a class="el" href="class_vect_sharp_1_1_simple_font_library.html" title="A font library that can be used to cache and resolve font family names.">SimpleFontLibrary</a> instance, using the default font library to resolve the standard font families.  </p>

<p class="definition">Definition at line <a class="el" href="_font_library_8cs_source.html#l00217">217</a> of file <a class="el" href="_font_library_8cs_source.html">FontLibrary.cs</a>.</p>

</div>
</div>
<a id="a7bb553fad44ca9eaeb12e796917fdf6c" name="a7bb553fad44ca9eaeb12e796917fdf6c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7bb553fad44ca9eaeb12e796917fdf6c">&#9670;&#160;</a></span>SimpleFontLibrary() <span class="overload">[3/4]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">VectSharp.SimpleFontLibrary.SimpleFontLibrary </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_vect_sharp_1_1_font_family.html">FontFamily</a>&#160;</td>
          <td class="paramname"><em>timesRoman</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="class_vect_sharp_1_1_font_family.html">FontFamily</a>&#160;</td>
          <td class="paramname"><em>timesBold</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="class_vect_sharp_1_1_font_family.html">FontFamily</a>&#160;</td>
          <td class="paramname"><em>timesItalic</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="class_vect_sharp_1_1_font_family.html">FontFamily</a>&#160;</td>
          <td class="paramname"><em>timesBoldItalic</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="class_vect_sharp_1_1_font_family.html">FontFamily</a>&#160;</td>
          <td class="paramname"><em>helvetica</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="class_vect_sharp_1_1_font_family.html">FontFamily</a>&#160;</td>
          <td class="paramname"><em>helveticaBold</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="class_vect_sharp_1_1_font_family.html">FontFamily</a>&#160;</td>
          <td class="paramname"><em>helveticaOblique</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="class_vect_sharp_1_1_font_family.html">FontFamily</a>&#160;</td>
          <td class="paramname"><em>helveticaBoldOblique</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="class_vect_sharp_1_1_font_family.html">FontFamily</a>&#160;</td>
          <td class="paramname"><em>courier</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="class_vect_sharp_1_1_font_family.html">FontFamily</a>&#160;</td>
          <td class="paramname"><em>courierBold</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="class_vect_sharp_1_1_font_family.html">FontFamily</a>&#160;</td>
          <td class="paramname"><em>courierOblique</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="class_vect_sharp_1_1_font_family.html">FontFamily</a>&#160;</td>
          <td class="paramname"><em>courierBoldOblique</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="class_vect_sharp_1_1_font_family.html">FontFamily</a>&#160;</td>
          <td class="paramname"><em>symbol</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="class_vect_sharp_1_1_font_family.html">FontFamily</a>&#160;</td>
          <td class="paramname"><em>zapfdingbats</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Create a new <a class="el" href="class_vect_sharp_1_1_simple_font_library.html" title="A font library that can be used to cache and resolve font family names.">SimpleFontLibrary</a> instance, with the specified replacements for the standard font families.  </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">timesRoman</td><td>The font family to use for the Times-Roman standard font.</td></tr>
    <tr><td class="paramname">timesBold</td><td>The font family to use for the Times-Bold standard font.</td></tr>
    <tr><td class="paramname">timesItalic</td><td>The font family to use for the Times-Italic standard font.</td></tr>
    <tr><td class="paramname">timesBoldItalic</td><td>The font family to use for the Times-BoldItalic standard font.</td></tr>
    <tr><td class="paramname">helvetica</td><td>The font family to use for the Helvetica standard font.</td></tr>
    <tr><td class="paramname">helveticaBold</td><td>The font family to use for the Helvetica-Bold standard font.</td></tr>
    <tr><td class="paramname">helveticaOblique</td><td>The font family to use for the Helvetica-Oblique standard font.</td></tr>
    <tr><td class="paramname">helveticaBoldOblique</td><td>The font family to use for the Helvetica-BoldOblique standard font.</td></tr>
    <tr><td class="paramname">courier</td><td>The font family to use for the Courier standard font.</td></tr>
    <tr><td class="paramname">courierBold</td><td>The font family to use for the Courier-Bold standard font.</td></tr>
    <tr><td class="paramname">courierOblique</td><td>The font family to use for the Courier-Oblique standard font.</td></tr>
    <tr><td class="paramname">courierBoldOblique</td><td>The font family to use for the Courier-BoldOblique standard font.</td></tr>
    <tr><td class="paramname">symbol</td><td>The font family to use for the Symbol standard font.</td></tr>
    <tr><td class="paramname">zapfdingbats</td><td>The font family to use for the Zapfdingbats standard font.</td></tr>
  </table>
  </dd>
</dl>

<p class="definition">Definition at line <a class="el" href="_font_library_8cs_source.html#l00239">239</a> of file <a class="el" href="_font_library_8cs_source.html">FontLibrary.cs</a>.</p>

</div>
</div>
<a id="a7bc0781e7a5a54478c8280b0dcc6b2b4" name="a7bc0781e7a5a54478c8280b0dcc6b2b4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7bc0781e7a5a54478c8280b0dcc6b2b4">&#9670;&#160;</a></span>SimpleFontLibrary() <span class="overload">[4/4]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">VectSharp.SimpleFontLibrary.SimpleFontLibrary </td>
          <td>(</td>
          <td class="paramtype">string&#160;</td>
          <td class="paramname"><em>timesRoman</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">string&#160;</td>
          <td class="paramname"><em>timesBold</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">string&#160;</td>
          <td class="paramname"><em>timesItalic</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">string&#160;</td>
          <td class="paramname"><em>timesBoldItalic</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">string&#160;</td>
          <td class="paramname"><em>helvetica</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">string&#160;</td>
          <td class="paramname"><em>helveticaBold</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">string&#160;</td>
          <td class="paramname"><em>helveticaOblique</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">string&#160;</td>
          <td class="paramname"><em>helveticaBoldOblique</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">string&#160;</td>
          <td class="paramname"><em>courier</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">string&#160;</td>
          <td class="paramname"><em>courierBold</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">string&#160;</td>
          <td class="paramname"><em>courierOblique</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">string&#160;</td>
          <td class="paramname"><em>courierBoldOblique</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">string&#160;</td>
          <td class="paramname"><em>symbol</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">string&#160;</td>
          <td class="paramname"><em>zapfdingbats</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Create a new <a class="el" href="class_vect_sharp_1_1_simple_font_library.html" title="A font library that can be used to cache and resolve font family names.">SimpleFontLibrary</a> instance, with the specified replacements for the standard font families.  </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">timesRoman</td><td>The font family to use for the Times-Roman standard font.</td></tr>
    <tr><td class="paramname">timesBold</td><td>The font family to use for the Times-Bold standard font.</td></tr>
    <tr><td class="paramname">timesItalic</td><td>The font family to use for the Times-Italic standard font.</td></tr>
    <tr><td class="paramname">timesBoldItalic</td><td>The font family to use for the Times-BoldItalic standard font.</td></tr>
    <tr><td class="paramname">helvetica</td><td>The font family to use for the Helvetica standard font.</td></tr>
    <tr><td class="paramname">helveticaBold</td><td>The font family to use for the Helvetica-Bold standard font.</td></tr>
    <tr><td class="paramname">helveticaOblique</td><td>The font family to use for the Helvetica-Oblique standard font.</td></tr>
    <tr><td class="paramname">helveticaBoldOblique</td><td>The font family to use for the Helvetica-BoldOblique standard font.</td></tr>
    <tr><td class="paramname">courier</td><td>The font family to use for the Courier standard font.</td></tr>
    <tr><td class="paramname">courierBold</td><td>The font family to use for the Courier-Bold standard font.</td></tr>
    <tr><td class="paramname">courierOblique</td><td>The font family to use for the Courier-Oblique standard font.</td></tr>
    <tr><td class="paramname">courierBoldOblique</td><td>The font family to use for the Courier-BoldOblique standard font.</td></tr>
    <tr><td class="paramname">symbol</td><td>The font family to use for the Symbol standard font.</td></tr>
    <tr><td class="paramname">zapfdingbats</td><td>The font family to use for the Zapfdingbats standard font.</td></tr>
  </table>
  </dd>
</dl>

<p class="definition">Definition at line <a class="el" href="_font_library_8cs_source.html#l00297">297</a> of file <a class="el" href="_font_library_8cs_source.html">FontLibrary.cs</a>.</p>

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="a5d39bf40b40d33033821008010ecd821" name="a5d39bf40b40d33033821008010ecd821"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5d39bf40b40d33033821008010ecd821">&#9670;&#160;</a></span>Add() <span class="overload">[1/4]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void VectSharp.SimpleFontLibrary.Add </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_vect_sharp_1_1_font_family.html">FontFamily</a>&#160;</td>
          <td class="paramname"><em>fontFamily</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Add the specified font family to the library.  </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">fontFamily</td><td>The font family to add.</td></tr>
  </table>
  </dd>
</dl>

<p class="definition">Definition at line <a class="el" href="_font_library_8cs_source.html#l00360">360</a> of file <a class="el" href="_font_library_8cs_source.html">FontLibrary.cs</a>.</p>

</div>
</div>
<a id="abcd94dd11abd1c8ec3713da426a60bd9" name="abcd94dd11abd1c8ec3713da426a60bd9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#abcd94dd11abd1c8ec3713da426a60bd9">&#9670;&#160;</a></span>Add() <span class="overload">[2/4]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void VectSharp.SimpleFontLibrary.Add </td>
          <td>(</td>
          <td class="paramtype">string&#160;</td>
          <td class="paramname"><em>fileName</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Add the font family contained in the specified True Type <a class="el" href="class_vect_sharp_1_1_font.html" title="Represents a typeface with a specific size.">Font</a> file to the library.  </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">fileName</td><td>The path to the TTF file containing the font family.</td></tr>
  </table>
  </dd>
</dl>

<p class="definition">Definition at line <a class="el" href="_font_library_8cs_source.html#l00372">372</a> of file <a class="el" href="_font_library_8cs_source.html">FontLibrary.cs</a>.</p>

</div>
</div>
<a id="aeb569eb2791e612a4fa7f259ad9597a5" name="aeb569eb2791e612a4fa7f259ad9597a5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aeb569eb2791e612a4fa7f259ad9597a5">&#9670;&#160;</a></span>Add() <span class="overload">[3/4]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void VectSharp.SimpleFontLibrary.Add </td>
          <td>(</td>
          <td class="paramtype">string&#160;</td>
          <td class="paramname"><em>fontFamily</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">string&#160;</td>
          <td class="paramname"><em>fileName</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Add the font family contained in the specified True Type <a class="el" href="class_vect_sharp_1_1_font.html" title="Represents a typeface with a specific size.">Font</a> file to the library, with the specified name. The font family is not loaded until it is requested for the first time.  </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">fontFamily</td><td>The name of the font family.</td></tr>
    <tr><td class="paramname">fileName</td><td>The path to the TTF file containing the font family.</td></tr>
  </table>
  </dd>
</dl>

<p class="definition">Definition at line <a class="el" href="_font_library_8cs_source.html#l00387">387</a> of file <a class="el" href="_font_library_8cs_source.html">FontLibrary.cs</a>.</p>

</div>
</div>
<a id="a6e196f1b36ce7c6f9bb15b0aa8b781b9" name="a6e196f1b36ce7c6f9bb15b0aa8b781b9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6e196f1b36ce7c6f9bb15b0aa8b781b9">&#9670;&#160;</a></span>Add() <span class="overload">[4/4]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void VectSharp.SimpleFontLibrary.Add </td>
          <td>(</td>
          <td class="paramtype">string&#160;</td>
          <td class="paramname"><em>fontFamilyName</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="class_vect_sharp_1_1_font_family.html">FontFamily</a>&#160;</td>
          <td class="paramname"><em>fontFamily</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Add the specified font family to the library with the specified name.  </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">fontFamilyName</td><td>The name of the font family.</td></tr>
    <tr><td class="paramname">fontFamily</td><td>The font family to add.</td></tr>
  </table>
  </dd>
</dl>

<p class="definition">Definition at line <a class="el" href="_font_library_8cs_source.html#l00343">343</a> of file <a class="el" href="_font_library_8cs_source.html">FontLibrary.cs</a>.</p>

</div>
</div>
<a id="abbb23adc127eba43dea02811e97aa148" name="abbb23adc127eba43dea02811e97aa148"></a>
<h2 class="memtitle"><span class="permalink"><a href="#abbb23adc127eba43dea02811e97aa148">&#9670;&#160;</a></span>ResolveFontFamily() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">override <a class="el" href="class_vect_sharp_1_1_font_family.html">FontFamily</a> VectSharp.SimpleFontLibrary.ResolveFontFamily </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_vect_sharp_1_1_font_family.html#a6cdec4eb0a660064bc416e81f69d3780">FontFamily.StandardFontFamilies</a>&#160;</td>
          <td class="paramname"><em>standardFontFamily</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Create a new font family from the specified standard font family name. <dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">standardFontFamily</td><td>The standard name of the font family.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>A <a class="el" href="class_vect_sharp_1_1_font_family.html" title="Represents a typeface.">FontFamily</a> object corresponding to the specified font family.</dd></dl>
 </p>

<p>Implements <a class="el" href="class_vect_sharp_1_1_font_library.html#aa2b3527549a24f1ed1564b8516a93213">VectSharp.FontLibrary</a>.</p>

<p class="definition">Definition at line <a class="el" href="_font_library_8cs_source.html#l00394">394</a> of file <a class="el" href="_font_library_8cs_source.html">FontLibrary.cs</a>.</p>

</div>
</div>
<a id="a63ef6efa35f69a22ec60236f8515ade9" name="a63ef6efa35f69a22ec60236f8515ade9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a63ef6efa35f69a22ec60236f8515ade9">&#9670;&#160;</a></span>ResolveFontFamily() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">override <a class="el" href="class_vect_sharp_1_1_font_family.html">FontFamily</a> VectSharp.SimpleFontLibrary.ResolveFontFamily </td>
          <td>(</td>
          <td class="paramtype">string&#160;</td>
          <td class="paramname"><em>fontFamily</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Create a new font family from the specified family name or true type file. If the family name or the true type file are not valid, an exception might be raised. <dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">fontFamily</td><td>The name of the font family to create, or the path to a TTF file.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>If the font family name or the true type file is valid, a <a class="el" href="class_vect_sharp_1_1_font_family.html" title="Represents a typeface.">FontFamily</a> object corresponding to the specified font family.</dd></dl>
 </p>

<p>Implements <a class="el" href="class_vect_sharp_1_1_font_library.html#aabf4f02d4ac7b08ef2c4c957100d09a1">VectSharp.FontLibrary</a>.</p>

<p class="definition">Definition at line <a class="el" href="_font_library_8cs_source.html#l00400">400</a> of file <a class="el" href="_font_library_8cs_source.html">FontLibrary.cs</a>.</p>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>VectSharp/<a class="el" href="_font_library_8cs_source.html">FontLibrary.cs</a></li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="namespace_vect_sharp.html">VectSharp</a></li><li class="navelem"><a class="el" href="class_vect_sharp_1_1_simple_font_library.html">SimpleFontLibrary</a></li>
    <li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.5 </li>
  </ul>
</div>
</body>
</html>
